/*
** resource.c for  in /home/massro_a//zappy-2011/client_graphique/resource
** 
** Made by anicet massrouf
** Login   <massro_a@epitech.net>
** 
** Started on  Thu Jun 30 18:44:34 2011 anicet massrouf
** Last update Thu Jun 30 19:37:21 2011 el-hadji-malick-ndour dieng
*/

#include <unistd.h>
#include <stdlib.h>
#include "resource.h"

void			init_resource(t_resource *this)
{
  t_resource		*res;
  SDL_Surface		resources_textures[7];

  init_resources_textures(resources_textures);
  res = malloc(sizeof(*res));
  if (res == NULL)
    {
      write(3, MALLOC_FAIL, 33);
      exit(EXIT_FAILURE);
    }
}
